<template>
  <icon :type="icon" />
</template>

<script>
import { createFromIconfontCN } from '@ant-design/icons-vue';

const Icon = createFromIconfontCN({
  scriptUrl: '//at.alicdn.com/t/font_8d5l8fzk5b87iudi.js'
});

export default {
  name: 'IconFont',
  props: {
    icon: String
  },
  components: {
    Icon
  }
}
</script>